package stud.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import stud.aistar.entity.Comment;
import stud.aistar.mapper.CommentMapper;
import stud.aistar.service.ICommentService;

/**
 * *
 *
 * @ClassName :wangyu
 * @Description
 * @Author
 * @Date2019/10/18 23:12
 * @Version V1.0
 */
@Service
@Transactional
public class CommentServiceImpl implements ICommentService{

    @Autowired
    private CommentMapper mapper;

    @Override
    public void Insert(Comment comment) {
        mapper.Insert(comment);
    }
}
